package com.gxa.medical.mapper;

import com.gxa.medical.pojo.DoctorAccount;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: Yang Kai
 * @Date: 2022/06/09/10:02
 * @Description:
 */


public interface DoctorAccountMapper {
    /**
     * 注册
     * @param doctorAccount
     * @return
     */
    Integer insertDoctorAccount(DoctorAccount doctorAccount);
    /**
     * 根据手机号查询
     * @param phone
     * @return
     */
    List<DoctorAccount> selectByPhone(@Param("phone") String phone);

}
